class DiningTable < ApplicationRecord
  belongs_to :restaurant

  scope :filter_spec, ->(number) { where '`spec` >= ?', number if number.present? }
end
